<!-- <template>
  <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>
  </nav>
  <router-view/>
</template>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style> -->
<template>
  <router-view/>
</template>

<script>
import {provide} from "vue"
import * as echarts from "echarts"
import axios from "axios"

//设置请求基准路径
//axios.defaults.baseURL="http://localhost:8888"
export default{
  setup(){
    provide("echarts",echarts)
    provide("axios",axios)
  }
}

</script>

<style lang="less">
body{
  background-color: #a0a5ab;
  background: url("~@/assets/bg.jpg")top center ;
}
//全局统一背景

*{
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}
</style>
